import { ElMessageBox } from "element-plus";

export const confirm = (confirmMessage) => {
  return ElMessageBox.confirm(confirmMessage, "警告", {
    type: "warning",
    confirmButtonText: "确认",
    cancelButtonText: "取消",
  });
};
